alerts using ajax |
| |||
an alert when there is a new friend request, message or notification without refresching the browser, with other words, the facebook way.
|
| |||
ya. it's good i also like this..
|
| |||
I'm using this code in my facebook style replace
setInterval(function() { </script>
[/code] but I've a problem that after the first refresh the line collapse and no spaces between word ... I'm still using it anyway ... if you solve the bug let me know!!
|
| |||
I have tried this..
|
| |||
i made some changes in one line and the space and | problem seems to be disapeared <script type="text/javascript"> </script> i guess with simular lines of code we also can update the activity and comment streams
|
| |||
yes but be carefull if the member was writing a comment or a blog at the moment of the refresh his/her writing will be lost!!!! thanks for solving my bug
|
| |||
there is still something wrong with the code. if you go to photos for example, it refreshes also the photo (total views counter goes up)
|
| |||
that is why I alert you... the code only good for refreshing the top bar not the whole page
|
| |||
and why the whole page is refreshing? the profile counter doesn't seems to have the same problem. btw, your origninal code (with the *) is working too, if you put another span-tag within the span-tag with id vbar.
|
| |||
yes, it is refreshing whole page, someone have solved this?
|
| |||
if it is refreshing the whole page, your htlm code is not correct.
|
| |||
dj jcowcodemaster and how I can solve this problem, whaat tags I need to chek.
|